------------------------
CVARS
------------------------
Place in 

bots_enabled <0|1>
--Default is 1
--Used to turn on and off the plugin

bots_setup <0|1>
--Default is 0
--Used to switch the plugin into setup mode for waypointing

bots_number <#>
--Default is 8
--Number of bots that spawn at the beginning of the map

bots_info <0|1>
--Default is 0
--Will report what bots are doing such as the entity of the flag they are trying to cap

bots_maxsets <#>
--Default is 8
--Sets the number of waypoint sets required, PER TEAM.  So if you specify 8, then you must have 8 waypoint sets for each team.

bots_leave <#>
--Default is 8
--Number of humans needed to force bots to leave


------------------------
COMMANDS
------------------------
sm_waypoint <add|show> <#>
--where '#' is the waypoint set you are saving (see below on waypointing)
-- 'add' will add a waypoint to that set
-- 'show' will show all the waypoints for that set

sm_where
--returns the coords and height above the player - used for waypointing


------------------------
PLAY
------------------------
The bots are stupid but will try and work their own way out of situations.

They are limited in that:
-- they cannot plant bombs
-- they do not prone or crouch
-- if you recompile the source code so that the bots use MGs or rockets, be prepared for server instability.

Other than that, they are as accurate as hell.
Bots can be customized via the botsprofile.db file located in the /data folder of SourceMod.


------------------------
CREATING WAYPOINTS
------------------------
Waypoint creation is not easy. It is both frustrating and time consuming.
It will take a certain amount of patience and a good text editor like Notepad++!

First of all, set

bots_setup 1

to turn on setup mode.

You need to create a minimum of 8 (depends on the cvar bots_maxsets) sets of waypoints for each team. The plugin will not function if there are less sets than specified in bots_maxsets.
Each set is a series of points around the map for the bots to follow.  Bots will regularly swap between sets so care is needed.
The more sets you have, the less the bots will clump together.  Since most maps have no more than 20 spawn points, it is unlikely you will need more than 20 sets per team.
Having said that, having 8 sets is efficient and consumes less server memory and hence is the default.

Bind a key to "sm_waypoint add 1" to waypoint the first set. 

When you spawn, all the spawn points will be highlighted so stand near a group and add point #1. Then carefully run around adding waypoints, being careful to make sure that the waypoint can be seen by the previous waypoint. Be aware that bots need help to get around sandbags and walls so plan a route around obstacles.  Try to add a waypoint in front of a door and behind a door.

Also be aware that the bots will reverse in direction once they reach the end of their set of waypoints.  Therefore, be careful when planning routes out of windows and drops to the ground as the bots will be unable to go back that way.

Then repeat for "sm_waypoint add 2" and so on. 

On average, waypointing, carefully done will take about 2 hours. If you do it quicker than that, you might have missed something.

To see your waypoints, type 'sm_waypoint show 1' to display the waypoints for set 1.

------------------------
ADDING FLAGS
------------------------
The flags are probably the most awkward bit. When you touch a flag entity, it will report back what the entity is, when in setup mode.

You then have to look at which is the first Allied flag, then make a note. And then the second Allied flag, and make a note. 
Do this for all the flags and then look at the other bot .nav files and see how the data is entered and replicate that in the newly create bot_mapname.nav file.
The plugin will still function without flag data, but the bots will not stop and capture, if there is no flag data.

Run the bots around the waypoints and make a note of the flag entity when they touch them and which team owns it.  This will help you figure out which flag is which.
Maps like Kalt will be pretty easy to do while others like Anzio, where the flags are all over the place and not in any obvious order, will be much more difficult.

Having created your NAV file, and it is successful, please submit your NAV file for others to use.


------------------------
BOT PROFILES
------------------------
Bot profiles allow server owners the opportunity to rename their bots and adjust their skill.
Make sure that you do not accidentally erase any quotation marks.
Skill level: 0 - Poor aim, unlikely to hit much ...... 5 - Very accurate


------------------------
SOURCE CODE
------------------------
https://www.assembla.com/code/dods-bots/subversion/nodes/trunk